package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_tags")
@ApiModel(value = "UserTags对象", description = "用户/团长标签表")
public class UserTags implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("标签名称")
    private String name;

    @ApiModelProperty("标签颜色")
    private String color;

    @ApiModelProperty("1-用户标签/2-团长标签")
    private Integer type;

    @ApiModelProperty("标签状态/1-启用/2-禁用")
    private Integer status;
}
